<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link rel="stylesheet" href="__PUBLIC__/assets/css/jquery-ui.css" />
</block>
<block name="stylecss">
<style type='text/css'>
    table tr td{
        width: 80%;
    }
    table tr th{
    	width: 16%;
        text-align: center;
        vertical-align: middle!important;
    }
</style>
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>
    <li>
		<a href="{:U('User/index')}">考生列表</a>
	</li>
	<li class="active">查看考生详细信息</li>
</ul><!-- /.breadcrumb -->

<!-- #section:basics/content.searchbox -->
<div class="nav-search" id="nav-search"></div><!-- /.nav-search -->
</block>
<block name="content">
<div class="left">
    <span class="btn btn-app btn-sm btn-light no-hover" style='padding:5px;width:180px;margin-right:20px'>
		<img src="<?php echo $user_arr['user_avatar'];?>" style="width:170px;height:170px">
	</span>
	<span class="btn btn-app btn-sm btn-danger no-hover" style='margin-bottom:-22px'>
		<span class="line-height-1 bigger-120"> <?php echo $user_arr['user_level_guitar'];?>级 </span>

		<br>
		<span class="line-height-1 smaller-90"> 电吉他等级 </span>
	</span>

	<span class="btn btn-app btn-sm btn-warning no-hover" style='margin-bottom:-22px'>
		<span class="line-height-1 bigger-120"> <?php echo $user_arr['user_level_drum'];?>级 </span>

		<br>
		<span class="line-height-1 smaller-90"> 爵士鼓等级 </span>
	</span>

	<span class="btn btn-app btn-sm btn-success no-hover" style='margin-bottom:-22px'>
		<span class="line-height-1 bigger-120"> <?php echo $user_arr['user_level_bass'];?>级 </span>

		<br>
		<span class="line-height-1 smaller-90"> 电贝司等级 </span>
	</span>

</div>

<div class="space-12"></div>

<table class="table table-striped table-bordered table-hover" >
    <tr>
        <th>认证身份</th>
        <td>
        	<?php if ($user_arr['user_auth'] == 1): ?>
				<span style="color:yellow">未提交资料</span>
			<?php elseif ($user_arr['user_auth'] == 2): ?>
				<span style="color:blue">提交待审核</span>
			<?php elseif ($user_arr['user_auth'] == 3): ?>
				<span style="color:green">审核成功</span>
			<?php elseif ($user_arr['user_auth'] == 4): ?>
				<span style="color:red">审核未通过</span>
			<?php else: ?>
				出错了！
			<?php endif ?>
        </td>
    </tr>
    <tr>
        <th>Midi ID</th>
        <td><?php echo formatNO($user_arr['user_id'],6);?></td>
    </tr>
    <tr>
        <th>真实姓名</th>
        <td><?php echo $user_arr['user_name'];?></td>
    </tr>
    <tr>
        <th>性别</th>
        <td>
        	<?php if ($user_arr['user_sex'] == 1): ?>
				男
			<?php elseif ($user_arr['user_sex'] == 2): ?>
				女
			<?php endif ?>
        </td>
    </tr>
    <tr>
        <th>生日</th>
        <td><?php echo $user_arr['user_birthday'];?></td>
    </tr>
    <tr>
        <th>民族</th>
        <td><?php echo $user_arr['user_nation'];?></td>
    </tr>
    <tr>
        <th>邮箱</th>
        <td><?php echo $user_arr['user_email'];?></td>
    </tr>
    <tr>
        <th>城市</th>
        <td><?php echo $user_arr['city_name'];?></td>
    </tr>
    <tr>
        <th>身份证号</th>
        <td><?php echo $user_arr['user_idcard'];?></td>
    </tr>
    <tr>
        <th>身份证图片</th>
        <td>
        	<?php if (!empty($user_arr['user_idpic1'])): ?>
				<img src=<?php echo $user_arr['user_idpic1'];?> alt="身份证照片1" width="400" height="300">
			<?php else: ?>
			未上传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<?php endif ?>
        </td>
    </tr>
    <tr>
        <th>昵称</th>
        <td><?php echo $user_arr['user_nickname'];?></td>
    </tr>
    <tr>
        <th>手机号</th>
        <td><?php echo $user_arr['user_phone'];?></td>
    </tr>
    <tr>
        <th>微信号</th>
        <td><?php echo $user_arr['user_weixin'];?></td>
    </tr>
    <tr>
        <th>国家</th>
        <td><?php echo $user_arr['user_country'];?></td>
    </tr>
    <tr>
        <th>注册日期</th>
        <td><?php echo $user_arr['user_reg_time'];?></td>
    </tr>
    <tr>
        <th>最后登录时间</th>
        <td><?php echo $user_arr['user_last_time'];?></td>
    </tr>
    <tr>
        <td colspan="2">
            <button type="button" class="btn btn-sm btn-light" onclick="location.href='{$_SERVER[HTTP_REFERER]}'"><i class="ace-icon fa fa-arrow-left"></i> 返回</button>
        </td>
    </tr>
</table>

</block>
<block name="scripts"></block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_user').addClass('active open');
        $('#menu_user_list').addClass('active');
    });
</script>
</block>